package com.tvunetworks.center.user.mapper;

import com.tvunetworks.center.user.model.GridEventBindRecord;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
/**
 * @program:
 * @description:
 * @author HenryChen
 * @create: 5/23/2019 1:54 PM
 **/
public interface GridEventBindRecordMapper extends Mapper<GridEventBindRecord> {
    /**
     *
     * @param status status
     * @param bindStatus bindStatus
     * @param userId userId
     * @param peerId peerId
     * @return int
     */
    int countActiveEventBindRecord(@Param("status") int status, @Param("bindStatus") int bindStatus, @Param("userId") String userId, @Param("peerId") String peerId);

}
